<h1>Calling API Methods</h1>

<h2>Demo</h2>

<p><a href="https://github.com/CirclonGroup/angular-tree-component/blob/master/projects/docs-app/src/app/fundamentals/api/api-demo/api-demo.component.ts" target="_blank">Source Code</a></p>

<div class="demo-container">
    <app-api-demo></app-api-demo>
</div>

<code-example>{{ html }}</code-example>

<p>Or by accessing the <code>treeNode</code> that is passed through <a [routerLink]="['/', 'fundamentals', 'events']">Events</a> or using <a [routerLink]="['/', 'fundamentals', 'actions']">Action Mapping</a>.</p>
